package com.xyz.entity.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UpkeepWorkOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UpkeepWorkOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUpkeepIdIsNull() {
            addCriterion("upkeep_id is null");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdIsNotNull() {
            addCriterion("upkeep_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdEqualTo(Long value) {
            addCriterion("upkeep_id =", value, "upkeepId");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdNotEqualTo(Long value) {
            addCriterion("upkeep_id <>", value, "upkeepId");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdGreaterThan(Long value) {
            addCriterion("upkeep_id >", value, "upkeepId");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdGreaterThanOrEqualTo(Long value) {
            addCriterion("upkeep_id >=", value, "upkeepId");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdLessThan(Long value) {
            addCriterion("upkeep_id <", value, "upkeepId");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdLessThanOrEqualTo(Long value) {
            addCriterion("upkeep_id <=", value, "upkeepId");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdIn(List<Long> values) {
            addCriterion("upkeep_id in", values, "upkeepId");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdNotIn(List<Long> values) {
            addCriterion("upkeep_id not in", values, "upkeepId");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdBetween(Long value1, Long value2) {
            addCriterion("upkeep_id between", value1, value2, "upkeepId");
            return (Criteria) this;
        }

        public Criteria andUpkeepIdNotBetween(Long value1, Long value2) {
            addCriterion("upkeep_id not between", value1, value2, "upkeepId");
            return (Criteria) this;
        }

        public Criteria andPlanIdIsNull() {
            addCriterion("plan_id is null");
            return (Criteria) this;
        }

        public Criteria andPlanIdIsNotNull() {
            addCriterion("plan_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlanIdEqualTo(Long value) {
            addCriterion("plan_id =", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdNotEqualTo(Long value) {
            addCriterion("plan_id <>", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdGreaterThan(Long value) {
            addCriterion("plan_id >", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdGreaterThanOrEqualTo(Long value) {
            addCriterion("plan_id >=", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdLessThan(Long value) {
            addCriterion("plan_id <", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdLessThanOrEqualTo(Long value) {
            addCriterion("plan_id <=", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdIn(List<Long> values) {
            addCriterion("plan_id in", values, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdNotIn(List<Long> values) {
            addCriterion("plan_id not in", values, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdBetween(Long value1, Long value2) {
            addCriterion("plan_id between", value1, value2, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdNotBetween(Long value1, Long value2) {
            addCriterion("plan_id not between", value1, value2, "planId");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeIsNull() {
            addCriterion("work_order_code is null");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeIsNotNull() {
            addCriterion("work_order_code is not null");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeEqualTo(String value) {
            addCriterion("work_order_code =", value, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeNotEqualTo(String value) {
            addCriterion("work_order_code <>", value, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeGreaterThan(String value) {
            addCriterion("work_order_code >", value, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeGreaterThanOrEqualTo(String value) {
            addCriterion("work_order_code >=", value, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeLessThan(String value) {
            addCriterion("work_order_code <", value, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeLessThanOrEqualTo(String value) {
            addCriterion("work_order_code <=", value, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeLike(String value) {
            addCriterion("work_order_code like", value, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeNotLike(String value) {
            addCriterion("work_order_code not like", value, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeIn(List<String> values) {
            addCriterion("work_order_code in", values, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeNotIn(List<String> values) {
            addCriterion("work_order_code not in", values, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeBetween(String value1, String value2) {
            addCriterion("work_order_code between", value1, value2, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andWorkOrderCodeNotBetween(String value1, String value2) {
            addCriterion("work_order_code not between", value1, value2, "workOrderCode");
            return (Criteria) this;
        }

        public Criteria andEmIdIsNull() {
            addCriterion("em_id is null");
            return (Criteria) this;
        }

        public Criteria andEmIdIsNotNull() {
            addCriterion("em_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmIdEqualTo(Long value) {
            addCriterion("em_id =", value, "emId");
            return (Criteria) this;
        }

        public Criteria andEmIdNotEqualTo(Long value) {
            addCriterion("em_id <>", value, "emId");
            return (Criteria) this;
        }

        public Criteria andEmIdGreaterThan(Long value) {
            addCriterion("em_id >", value, "emId");
            return (Criteria) this;
        }

        public Criteria andEmIdGreaterThanOrEqualTo(Long value) {
            addCriterion("em_id >=", value, "emId");
            return (Criteria) this;
        }

        public Criteria andEmIdLessThan(Long value) {
            addCriterion("em_id <", value, "emId");
            return (Criteria) this;
        }

        public Criteria andEmIdLessThanOrEqualTo(Long value) {
            addCriterion("em_id <=", value, "emId");
            return (Criteria) this;
        }

        public Criteria andEmIdIn(List<Long> values) {
            addCriterion("em_id in", values, "emId");
            return (Criteria) this;
        }

        public Criteria andEmIdNotIn(List<Long> values) {
            addCriterion("em_id not in", values, "emId");
            return (Criteria) this;
        }

        public Criteria andEmIdBetween(Long value1, Long value2) {
            addCriterion("em_id between", value1, value2, "emId");
            return (Criteria) this;
        }

        public Criteria andEmIdNotBetween(Long value1, Long value2) {
            addCriterion("em_id not between", value1, value2, "emId");
            return (Criteria) this;
        }

        public Criteria andEmNameIsNull() {
            addCriterion("em_name is null");
            return (Criteria) this;
        }

        public Criteria andEmNameIsNotNull() {
            addCriterion("em_name is not null");
            return (Criteria) this;
        }

        public Criteria andEmNameEqualTo(String value) {
            addCriterion("em_name =", value, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameNotEqualTo(String value) {
            addCriterion("em_name <>", value, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameGreaterThan(String value) {
            addCriterion("em_name >", value, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameGreaterThanOrEqualTo(String value) {
            addCriterion("em_name >=", value, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameLessThan(String value) {
            addCriterion("em_name <", value, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameLessThanOrEqualTo(String value) {
            addCriterion("em_name <=", value, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameLike(String value) {
            addCriterion("em_name like", value, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameNotLike(String value) {
            addCriterion("em_name not like", value, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameIn(List<String> values) {
            addCriterion("em_name in", values, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameNotIn(List<String> values) {
            addCriterion("em_name not in", values, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameBetween(String value1, String value2) {
            addCriterion("em_name between", value1, value2, "emName");
            return (Criteria) this;
        }

        public Criteria andEmNameNotBetween(String value1, String value2) {
            addCriterion("em_name not between", value1, value2, "emName");
            return (Criteria) this;
        }

        public Criteria andEmCodeIsNull() {
            addCriterion("em_code is null");
            return (Criteria) this;
        }

        public Criteria andEmCodeIsNotNull() {
            addCriterion("em_code is not null");
            return (Criteria) this;
        }

        public Criteria andEmCodeEqualTo(String value) {
            addCriterion("em_code =", value, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeNotEqualTo(String value) {
            addCriterion("em_code <>", value, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeGreaterThan(String value) {
            addCriterion("em_code >", value, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeGreaterThanOrEqualTo(String value) {
            addCriterion("em_code >=", value, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeLessThan(String value) {
            addCriterion("em_code <", value, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeLessThanOrEqualTo(String value) {
            addCriterion("em_code <=", value, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeLike(String value) {
            addCriterion("em_code like", value, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeNotLike(String value) {
            addCriterion("em_code not like", value, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeIn(List<String> values) {
            addCriterion("em_code in", values, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeNotIn(List<String> values) {
            addCriterion("em_code not in", values, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeBetween(String value1, String value2) {
            addCriterion("em_code between", value1, value2, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmCodeNotBetween(String value1, String value2) {
            addCriterion("em_code not between", value1, value2, "emCode");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationIsNull() {
            addCriterion("em_specification is null");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationIsNotNull() {
            addCriterion("em_specification is not null");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationEqualTo(String value) {
            addCriterion("em_specification =", value, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationNotEqualTo(String value) {
            addCriterion("em_specification <>", value, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationGreaterThan(String value) {
            addCriterion("em_specification >", value, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationGreaterThanOrEqualTo(String value) {
            addCriterion("em_specification >=", value, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationLessThan(String value) {
            addCriterion("em_specification <", value, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationLessThanOrEqualTo(String value) {
            addCriterion("em_specification <=", value, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationLike(String value) {
            addCriterion("em_specification like", value, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationNotLike(String value) {
            addCriterion("em_specification not like", value, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationIn(List<String> values) {
            addCriterion("em_specification in", values, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationNotIn(List<String> values) {
            addCriterion("em_specification not in", values, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationBetween(String value1, String value2) {
            addCriterion("em_specification between", value1, value2, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmSpecificationNotBetween(String value1, String value2) {
            addCriterion("em_specification not between", value1, value2, "emSpecification");
            return (Criteria) this;
        }

        public Criteria andEmLocationIsNull() {
            addCriterion("em_location is null");
            return (Criteria) this;
        }

        public Criteria andEmLocationIsNotNull() {
            addCriterion("em_location is not null");
            return (Criteria) this;
        }

        public Criteria andEmLocationEqualTo(String value) {
            addCriterion("em_location =", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationNotEqualTo(String value) {
            addCriterion("em_location <>", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationGreaterThan(String value) {
            addCriterion("em_location >", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationGreaterThanOrEqualTo(String value) {
            addCriterion("em_location >=", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationLessThan(String value) {
            addCriterion("em_location <", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationLessThanOrEqualTo(String value) {
            addCriterion("em_location <=", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationLike(String value) {
            addCriterion("em_location like", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationNotLike(String value) {
            addCriterion("em_location not like", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationIn(List<String> values) {
            addCriterion("em_location in", values, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationNotIn(List<String> values) {
            addCriterion("em_location not in", values, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationBetween(String value1, String value2) {
            addCriterion("em_location between", value1, value2, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationNotBetween(String value1, String value2) {
            addCriterion("em_location not between", value1, value2, "emLocation");
            return (Criteria) this;
        }

        public Criteria andTreeIdIsNull() {
            addCriterion("tree_id is null");
            return (Criteria) this;
        }

        public Criteria andTreeIdIsNotNull() {
            addCriterion("tree_id is not null");
            return (Criteria) this;
        }

        public Criteria andTreeIdEqualTo(Long value) {
            addCriterion("tree_id =", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdNotEqualTo(Long value) {
            addCriterion("tree_id <>", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdGreaterThan(Long value) {
            addCriterion("tree_id >", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("tree_id >=", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdLessThan(Long value) {
            addCriterion("tree_id <", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdLessThanOrEqualTo(Long value) {
            addCriterion("tree_id <=", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdIn(List<Long> values) {
            addCriterion("tree_id in", values, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdNotIn(List<Long> values) {
            addCriterion("tree_id not in", values, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdBetween(Long value1, Long value2) {
            addCriterion("tree_id between", value1, value2, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdNotBetween(Long value1, Long value2) {
            addCriterion("tree_id not between", value1, value2, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeNameIsNull() {
            addCriterion("tree_name is null");
            return (Criteria) this;
        }

        public Criteria andTreeNameIsNotNull() {
            addCriterion("tree_name is not null");
            return (Criteria) this;
        }

        public Criteria andTreeNameEqualTo(String value) {
            addCriterion("tree_name =", value, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameNotEqualTo(String value) {
            addCriterion("tree_name <>", value, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameGreaterThan(String value) {
            addCriterion("tree_name >", value, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameGreaterThanOrEqualTo(String value) {
            addCriterion("tree_name >=", value, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameLessThan(String value) {
            addCriterion("tree_name <", value, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameLessThanOrEqualTo(String value) {
            addCriterion("tree_name <=", value, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameLike(String value) {
            addCriterion("tree_name like", value, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameNotLike(String value) {
            addCriterion("tree_name not like", value, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameIn(List<String> values) {
            addCriterion("tree_name in", values, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameNotIn(List<String> values) {
            addCriterion("tree_name not in", values, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameBetween(String value1, String value2) {
            addCriterion("tree_name between", value1, value2, "treeName");
            return (Criteria) this;
        }

        public Criteria andTreeNameNotBetween(String value1, String value2) {
            addCriterion("tree_name not between", value1, value2, "treeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNull() {
            addCriterion("employee_id is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNotNull() {
            addCriterion("employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdEqualTo(Long value) {
            addCriterion("employee_id =", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotEqualTo(Long value) {
            addCriterion("employee_id <>", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThan(Long value) {
            addCriterion("employee_id >", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("employee_id >=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThan(Long value) {
            addCriterion("employee_id <", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThanOrEqualTo(Long value) {
            addCriterion("employee_id <=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIn(List<Long> values) {
            addCriterion("employee_id in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotIn(List<Long> values) {
            addCriterion("employee_id not in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdBetween(Long value1, Long value2) {
            addCriterion("employee_id between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotBetween(Long value1, Long value2) {
            addCriterion("employee_id not between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateIsNull() {
            addCriterion("upkeep_state is null");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateIsNotNull() {
            addCriterion("upkeep_state is not null");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateEqualTo(Integer value) {
            addCriterion("upkeep_state =", value, "upkeepState");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateNotEqualTo(Integer value) {
            addCriterion("upkeep_state <>", value, "upkeepState");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateGreaterThan(Integer value) {
            addCriterion("upkeep_state >", value, "upkeepState");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("upkeep_state >=", value, "upkeepState");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateLessThan(Integer value) {
            addCriterion("upkeep_state <", value, "upkeepState");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateLessThanOrEqualTo(Integer value) {
            addCriterion("upkeep_state <=", value, "upkeepState");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateIn(List<Integer> values) {
            addCriterion("upkeep_state in", values, "upkeepState");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateNotIn(List<Integer> values) {
            addCriterion("upkeep_state not in", values, "upkeepState");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateBetween(Integer value1, Integer value2) {
            addCriterion("upkeep_state between", value1, value2, "upkeepState");
            return (Criteria) this;
        }

        public Criteria andUpkeepStateNotBetween(Integer value1, Integer value2) {
            addCriterion("upkeep_state not between", value1, value2, "upkeepState");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Long value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Long value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Long value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Long value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Long> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Long> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Long value1, Long value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeIsNull() {
            addCriterion("upkeep_start_time is null");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeIsNotNull() {
            addCriterion("upkeep_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeEqualTo(Date value) {
            addCriterion("upkeep_start_time =", value, "upkeepStartTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeNotEqualTo(Date value) {
            addCriterion("upkeep_start_time <>", value, "upkeepStartTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeGreaterThan(Date value) {
            addCriterion("upkeep_start_time >", value, "upkeepStartTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("upkeep_start_time >=", value, "upkeepStartTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeLessThan(Date value) {
            addCriterion("upkeep_start_time <", value, "upkeepStartTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("upkeep_start_time <=", value, "upkeepStartTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeIn(List<Date> values) {
            addCriterion("upkeep_start_time in", values, "upkeepStartTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeNotIn(List<Date> values) {
            addCriterion("upkeep_start_time not in", values, "upkeepStartTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeBetween(Date value1, Date value2) {
            addCriterion("upkeep_start_time between", value1, value2, "upkeepStartTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("upkeep_start_time not between", value1, value2, "upkeepStartTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeIsNull() {
            addCriterion("upkeep_end_time is null");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeIsNotNull() {
            addCriterion("upkeep_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeEqualTo(Date value) {
            addCriterion("upkeep_end_time =", value, "upkeepEndTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeNotEqualTo(Date value) {
            addCriterion("upkeep_end_time <>", value, "upkeepEndTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeGreaterThan(Date value) {
            addCriterion("upkeep_end_time >", value, "upkeepEndTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("upkeep_end_time >=", value, "upkeepEndTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeLessThan(Date value) {
            addCriterion("upkeep_end_time <", value, "upkeepEndTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("upkeep_end_time <=", value, "upkeepEndTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeIn(List<Date> values) {
            addCriterion("upkeep_end_time in", values, "upkeepEndTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeNotIn(List<Date> values) {
            addCriterion("upkeep_end_time not in", values, "upkeepEndTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeBetween(Date value1, Date value2) {
            addCriterion("upkeep_end_time between", value1, value2, "upkeepEndTime");
            return (Criteria) this;
        }

        public Criteria andUpkeepEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("upkeep_end_time not between", value1, value2, "upkeepEndTime");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdIsNull() {
            addCriterion("mainten_employee_id is null");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdIsNotNull() {
            addCriterion("mainten_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdEqualTo(Long value) {
            addCriterion("mainten_employee_id =", value, "maintenEmployeeId");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdNotEqualTo(Long value) {
            addCriterion("mainten_employee_id <>", value, "maintenEmployeeId");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdGreaterThan(Long value) {
            addCriterion("mainten_employee_id >", value, "maintenEmployeeId");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("mainten_employee_id >=", value, "maintenEmployeeId");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdLessThan(Long value) {
            addCriterion("mainten_employee_id <", value, "maintenEmployeeId");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdLessThanOrEqualTo(Long value) {
            addCriterion("mainten_employee_id <=", value, "maintenEmployeeId");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdIn(List<Long> values) {
            addCriterion("mainten_employee_id in", values, "maintenEmployeeId");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdNotIn(List<Long> values) {
            addCriterion("mainten_employee_id not in", values, "maintenEmployeeId");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdBetween(Long value1, Long value2) {
            addCriterion("mainten_employee_id between", value1, value2, "maintenEmployeeId");
            return (Criteria) this;
        }

        public Criteria andMaintenEmployeeIdNotBetween(Long value1, Long value2) {
            addCriterion("mainten_employee_id not between", value1, value2, "maintenEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdIsNull() {
            addCriterion("accept_employee_id is null");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdIsNotNull() {
            addCriterion("accept_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdEqualTo(Long value) {
            addCriterion("accept_employee_id =", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdNotEqualTo(Long value) {
            addCriterion("accept_employee_id <>", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdGreaterThan(Long value) {
            addCriterion("accept_employee_id >", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("accept_employee_id >=", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdLessThan(Long value) {
            addCriterion("accept_employee_id <", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdLessThanOrEqualTo(Long value) {
            addCriterion("accept_employee_id <=", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdIn(List<Long> values) {
            addCriterion("accept_employee_id in", values, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdNotIn(List<Long> values) {
            addCriterion("accept_employee_id not in", values, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdBetween(Long value1, Long value2) {
            addCriterion("accept_employee_id between", value1, value2, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdNotBetween(Long value1, Long value2) {
            addCriterion("accept_employee_id not between", value1, value2, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdIsNull() {
            addCriterion("announce_employee_id is null");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdIsNotNull() {
            addCriterion("announce_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdEqualTo(Long value) {
            addCriterion("announce_employee_id =", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdNotEqualTo(Long value) {
            addCriterion("announce_employee_id <>", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdGreaterThan(Long value) {
            addCriterion("announce_employee_id >", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("announce_employee_id >=", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdLessThan(Long value) {
            addCriterion("announce_employee_id <", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdLessThanOrEqualTo(Long value) {
            addCriterion("announce_employee_id <=", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdIn(List<Long> values) {
            addCriterion("announce_employee_id in", values, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdNotIn(List<Long> values) {
            addCriterion("announce_employee_id not in", values, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdBetween(Long value1, Long value2) {
            addCriterion("announce_employee_id between", value1, value2, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdNotBetween(Long value1, Long value2) {
            addCriterion("announce_employee_id not between", value1, value2, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourIsNull() {
            addCriterion("estimated_work_hour is null");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourIsNotNull() {
            addCriterion("estimated_work_hour is not null");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourEqualTo(Integer value) {
            addCriterion("estimated_work_hour =", value, "estimatedWorkHour");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourNotEqualTo(Integer value) {
            addCriterion("estimated_work_hour <>", value, "estimatedWorkHour");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourGreaterThan(Integer value) {
            addCriterion("estimated_work_hour >", value, "estimatedWorkHour");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourGreaterThanOrEqualTo(Integer value) {
            addCriterion("estimated_work_hour >=", value, "estimatedWorkHour");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourLessThan(Integer value) {
            addCriterion("estimated_work_hour <", value, "estimatedWorkHour");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourLessThanOrEqualTo(Integer value) {
            addCriterion("estimated_work_hour <=", value, "estimatedWorkHour");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourIn(List<Integer> values) {
            addCriterion("estimated_work_hour in", values, "estimatedWorkHour");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourNotIn(List<Integer> values) {
            addCriterion("estimated_work_hour not in", values, "estimatedWorkHour");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourBetween(Integer value1, Integer value2) {
            addCriterion("estimated_work_hour between", value1, value2, "estimatedWorkHour");
            return (Criteria) this;
        }

        public Criteria andEstimatedWorkHourNotBetween(Integer value1, Integer value2) {
            addCriterion("estimated_work_hour not between", value1, value2, "estimatedWorkHour");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondIsNull() {
            addCriterion("work_hour_second is null");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondIsNotNull() {
            addCriterion("work_hour_second is not null");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondEqualTo(Long value) {
            addCriterion("work_hour_second =", value, "workHourSecond");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondNotEqualTo(Long value) {
            addCriterion("work_hour_second <>", value, "workHourSecond");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondGreaterThan(Long value) {
            addCriterion("work_hour_second >", value, "workHourSecond");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondGreaterThanOrEqualTo(Long value) {
            addCriterion("work_hour_second >=", value, "workHourSecond");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondLessThan(Long value) {
            addCriterion("work_hour_second <", value, "workHourSecond");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondLessThanOrEqualTo(Long value) {
            addCriterion("work_hour_second <=", value, "workHourSecond");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondIn(List<Long> values) {
            addCriterion("work_hour_second in", values, "workHourSecond");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondNotIn(List<Long> values) {
            addCriterion("work_hour_second not in", values, "workHourSecond");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondBetween(Long value1, Long value2) {
            addCriterion("work_hour_second between", value1, value2, "workHourSecond");
            return (Criteria) this;
        }

        public Criteria andWorkHourSecondNotBetween(Long value1, Long value2) {
            addCriterion("work_hour_second not between", value1, value2, "workHourSecond");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutIsNull() {
            addCriterion("is_timeout is null");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutIsNotNull() {
            addCriterion("is_timeout is not null");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutEqualTo(Integer value) {
            addCriterion("is_timeout =", value, "isTimeout");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutNotEqualTo(Integer value) {
            addCriterion("is_timeout <>", value, "isTimeout");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutGreaterThan(Integer value) {
            addCriterion("is_timeout >", value, "isTimeout");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_timeout >=", value, "isTimeout");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutLessThan(Integer value) {
            addCriterion("is_timeout <", value, "isTimeout");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutLessThanOrEqualTo(Integer value) {
            addCriterion("is_timeout <=", value, "isTimeout");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutIn(List<Integer> values) {
            addCriterion("is_timeout in", values, "isTimeout");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutNotIn(List<Integer> values) {
            addCriterion("is_timeout not in", values, "isTimeout");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutBetween(Integer value1, Integer value2) {
            addCriterion("is_timeout between", value1, value2, "isTimeout");
            return (Criteria) this;
        }

        public Criteria andIsTimeoutNotBetween(Integer value1, Integer value2) {
            addCriterion("is_timeout not between", value1, value2, "isTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutIsNull() {
            addCriterion("is_acd_timeout is null");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutIsNotNull() {
            addCriterion("is_acd_timeout is not null");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutEqualTo(Integer value) {
            addCriterion("is_acd_timeout =", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutNotEqualTo(Integer value) {
            addCriterion("is_acd_timeout <>", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutGreaterThan(Integer value) {
            addCriterion("is_acd_timeout >", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_acd_timeout >=", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutLessThan(Integer value) {
            addCriterion("is_acd_timeout <", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutLessThanOrEqualTo(Integer value) {
            addCriterion("is_acd_timeout <=", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutIn(List<Integer> values) {
            addCriterion("is_acd_timeout in", values, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutNotIn(List<Integer> values) {
            addCriterion("is_acd_timeout not in", values, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutBetween(Integer value1, Integer value2) {
            addCriterion("is_acd_timeout between", value1, value2, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutNotBetween(Integer value1, Integer value2) {
            addCriterion("is_acd_timeout not between", value1, value2, "isAcdTimeout");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}